<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<script type="text/javascript">
var pageIndex = [<s:iterator value="listResult.indexes"><s:property/>,</s:iterator>0];
function goPageIndex(index){
	$('#startIndex').val(index);
	$('#listForm').submit();
}
function goPage(page){
	if (isNaN(page)) {
		alert('This must be a number.');
		return -1;
	}

	if (pageIndex)
		goPageIndex(pageIndex[--page]);
	return 0;
}
	//-->
</script>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td height="30" align="right"><span  style="color:#0B81C7;" >Total:&nbsp;</span><b><s:property value="listResult.totalCount" /></b>&nbsp; <a href="javascript:goPageIndex(<s:property value="listResult.previousIndex"/>)" class="gray">Previous</a> | <a
			href="javascript:goPageIndex(<s:property value="listResult.nextIndex"/>)" class="blue">Next</a> <img onclick="goPage($('#pageIpt').val())" src="<s:url value="/img/right/btn-go.gif"/>"
			width="27" height="17" border="0" align="absmiddle" /> <s:textfield id="pageIpt" value="%{listResult.currentPage+1}"
			cssStyle="width:2em;text-align:center" />/<s:property value="listResult.pageCount" /> Page</td>
	</tr>
</table>